using System;
using System.Collections.Generic;
using System.Web;

namespace Diploma.Models.IRepositories
{
    public interface IPublicMessagesRepository
    {
        PublicMessage GetPublicMessage(Guid id);
        void Delete(PublicMessage message);
        IEnumerable<PublicMessage> GetAllPublicMessages();
        IEnumerable<PublicMessage> GetPublicMessages(Guid? startMessageId);
        void Add(PublicMessage message, HttpPostedFileBase file);
    }
}